<form action="<?php echo $this->site['base_url']?>admin_setting/index_sm" method="post">
<table class="title" cellspacing="0" cellpadding="0">
  	<tr>
  		<td class="title_label"><?php echo Kohana::lang('admin_setting_lang.tt_page')?></td>
    	<td class="title_button">
        <button type="reset" name="btn_reset" class="button reset"/>
        <span><?php echo Kohana::lang('admin_lang.btn_reset')?></span>
        </button>
        &nbsp;
        <button type="submit" name="btn_submit" class="button save" />
        <span><?php echo Kohana::lang('admin_lang.btn_save')?></span>
	    </td>
  	</tr>
</table>
<table class="form" cellspacing="0" cellpadding="5">
  	<tr>
    	<td width="11%"><?php echo Kohana::lang('admin_setting_lang.lbl_site_name') ?>: <font color="#FF0000">*</font></td>
        <td><input id="txt_name" name="txt_name" type="text" size="50" value="<?php echo $mr['site_name']?>"/></td>
  	</tr>
    <tr>
    	<td><?php echo Kohana::lang('admin_setting_lang.lbl_slogan')?>:</td>
        <td><input id="txt_slogan" name="txt_slogan" type="text" size="50" value="<?php echo $mr['site_slogan']?>" /></td>
  	</tr>
    <tr>
    <td><?php echo Kohana::lang('admin_setting_lang.lbl_address')?>:</td>
    <td><input id="txt_address" name="txt_address" type="text" size="50" value="<?php echo $mr['site_address']?>"/></td>
  </tr>
    <tr>
      <td>&nbsp;</td>
      <td><input id="txt_address2" name="txt_address2" type="text" size="50" value="<?php echo $mr['site_address2']?>"/></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td><input id="txt_city" name="txt_city" type="text" value="<?php echo $mr['site_city']?>" size="27"/>
      ,
      <input id="txt_state" name="txt_state" type="text" value="<?php echo $mr['site_state']?>" size="5"/>
      <input id="txt_zipcode" name="txt_zipcode" type="text" value="<?php echo $mr['site_zipcode']?>" size="5"/></td>
  	</tr>	
  	<tr>
    	<td><?php echo Kohana::lang('admin_setting_lang.lbl_phone_fax')?>:</td>
        <td>
    		<input id="txt_phone" name="txt_phone" type="text" value="<?php echo $mr['site_phone']?>" size="22"/>
      		<input id="txt_fax" name="txt_fax" type="text" value="<?php echo $mr['site_fax']?>" size="22"/>
    	</td>
  	</tr>
    <!--<tr>
 		<td><?php //echo Kohana::lang('admin_setting_lang.lbl_homepage')?>:</td>
        <td><input id="txt_homepage" name="txt_homepage" type="text" size="50" value="<?php //echo $mr['site_homepage']?>"/></td>
  	</tr>-->
  	<tr>
 		<td><?php echo Kohana::lang('admin_setting_lang.lbl_email')?>:</td>
        <td>
        <input id="txt_email" name="txt_email" type="text" size="50" value="<?php echo $mr['site_email']?>"/>
        (<?php echo Kohana::lang('admin_setting_lang.lbl_administrator')?>)
        </td>
  	</tr>
  	<tr>
  	  <td>&nbsp;</td>
  	  <td>
      <input id="txt_email2" name="txt_email2" type="text" size="50" value="<?php echo $mr['site_email2']?>"/>
      (<?php echo Kohana::lang('admin_setting_lang.lbl_sale')?>)
      </td>
    </tr>
  	<tr>
    	<td><?php echo Kohana::lang('admin_setting_lang.lbl_title')?>:</td>
        <td><input name="txt_title" type="text" id="txt_title" size="50" value="<?php echo $mr['site_title']?>"/></td>
  	</tr>
    <tr>
    	<td><?php echo Kohana::lang('admin_setting_lang.lbl_keyword')?>:</td>
        <td><input id="txt_keyword" name="txt_keyword" type="text" size="50" value="<?php echo $mr['site_keyword']?>"/></td>
  	</tr>
  	<tr>
    	<td><?php echo Kohana::lang('admin_setting_lang.lbl_footer')?>:</td>
        <td><input id="txt_footer" name="txt_footer" type="text" size="50" value="<?php echo $mr['site_footer']?>"/></td>
  	</tr>
   	<tr>
    	<td colspan="2">&nbsp;</td>
   	</tr>
</table>
<input type="hidden" name="site_name" id="site_name" value="<?php echo $mr['site_name']?>" />
</form>